package com.zchat.api.log;


/**
 * 
 * @author Oliverzhu
 * 2012/6/12
 */
public class Logger {
	public static final String TAG = "zchat";
	
	/**
	 * Add warn info into the log file 
	 * @param info
	 * @author MichaelHuang
	 */
	public static void warn(String info){
		android.util.Log.w(TAG, info);
//		writeLog("warn", info);
	}
	
	/**
	 * Add normal info into the log file 
	 * @param info
	 * @author MichaelHuang
	 */
	public static void info(String info){
		android.util.Log.i(TAG, info);
//		writeLog("info", info);
	}

	/**
	 * Add error info into the log file 
	 * @param info
	 * @author MichaelHuang
	 */
	public static void error(String info){
		android.util.Log.e(TAG, info);
//		writeLog("error", info);
	}

	/**
	 * Add debug info into the log file 
	 * @param info
	 * @author MichaelHuang
	 */
	public static void debug(String info){
		android.util.Log.d(TAG, info);
//		writeLog("debug", info);
	}
}
